<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <li v-for="item in items">
        {{item.message}}
    </li>
</div>

<!--导入vue.js编写js代码-->
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script>
    let vm = new Vue({
        el:"#app",
        data:{
            items: [
                {message: 'java'},
                {message: 'python'},
                {message: 'mysql'},
                {message: 'vue'}
            ]
        }
    });
</script>

</body>
</html>